Just the font color/name in the first row isn't the default one, and maybe you should change get_memberlist.cgi to ubb_memberlist.cgi, so it will sound more like other files.
Is there a way to get the member's status to appear as one of the columns? I tried $user_profile[8] but that dosen't show the status's that are renamed in the CP (eg: Cadet instead of Junior Member)
I added the other bit in an appropriate place in the script though, but I still got error 500s!
I then tried to revert to my backup of ultimatebb.cgi and STILL got the Error 500. So, I decided to re-download it from Infopop.com and STILL got error 500s.
Please help, my board is now down!
If it helps, my address is http://cgi-bin.spaceports.com/~xrealms/cgi-bin/ultimatebb.cgi
I have just installed this wonderfull hack and it works! Good work amykhar! I would like to know if it easy to put in this hack some other fields such us e-mail, home page etc? Also a good idea is that we can change wordlets, this might will be easy. :rolleyes:
why do i get spaces in the memberlist it shows some members and the do space and continues and also i wanted to ask how do i make a link from the ubb summery page to the memberlist? i want that it will be on the menu at the top of the ubb thanks
###Above it add member_list_link => q~memberlist~, member_list_acronym => q~List of Members~,
###Clear Cache, and the Link will be on every page with the main bar I'm not sure if the member_list_acronym wordlet is needed, someone please tell me. Also if you have the My Profile, Register, Search, etc with capitals or different wording you can change the member_list_link in the CP main wordlets.
Well, i fixed that error by using a different seperator then the one u are using. But that one produced conflicts with others. Bah. Time to try something a little more intensive.
I have the script so that it can split the memberlist into either groups of 50 or into pages based on the first letter of the username.
What I need is two things to make it better.
1) I need help with a regular expression that will return all login names that start with a symbol or number instead of a letter.
2) I need help with the dropdown box of letters. Currently, I hard coded each option tag, and have no way to mark as selected the letter that users are currently viewing.
I am willing to email the code to anyone who wants to help improve this thing.
i have a member with a pipe (|) in his name so i just changed the seperator to seperate by the |!!| dont know if this will help anyone else but it seems a more efficient way of doing it to me.
amykhar - for the 1st of the 2 things u needed help with above. it probably work just to check if the first char is NOT a letter, then to go one and check if it is NOT a letter and NOT a number, so then its a special char. hope that is helpfull.
quote:</font><HR>Originally posted by kaak: Okay, i changed the code to look like this: <BLOCKQUOTE><font size="1" face="Verdana, Helvetica, Arial">code:
And now, when you click on send PM, it says it cannot find profile for member number???
I've tried putting this practically everywhere I can think of in the file, its usually giving me a blank space (when not an error). I think its not checking &CustomTitle (this sub is in ubb_lib right?) or if it is its not reading it correctly or something.
maybe im missing it but is there any special reason for the lowercasing of the users names in this line? @raw_array[$counter] = lc($username)."/".@line[1];
i rewrote this so that it will write the whole page to a file and then access that file from then on to display the page instead of doing all the routines. not sure if it really cuts down on server use or anything. if this helps you let me know and ill send it to you to look at.
CtrlAltDelete, What should eventually be done is a script created to go through the list for the existing members, and then create a static file for display.
Then, as new members join, they should be added to the list. I haven't done this because theoretically, leshrac is implementing his old member list. I can't see investing that amount of time in it.
I have thrown together a temporary solution that isn't hard to install, and is easy to get rid of when leshrac finally releases.
However, I do have a version that should be ready for release in a day or two that will break the list into pages. DPK is helping out. (At least he has the code :D)
it's not working... it gives me... The page cannot be found The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.
If you typed the page address in the Address bar, make sure that it is spelled correctly.
Open the home.starstation.ro home page, and then look for links to the information you want. Click the Back button to try another link. Click Search to look for information on the Internet. HTTP 404 - File not found Internet Explorer
my apologies if someone has suggested this idea already. Amy, in the next version, it'd be great to have the user's member number as a column on the list as well.
Guys, I am bowing out gracefully and passing this over to DPK. I am in the middle of getting ready for a certification exam (amongst other things) and don't have the time to play with this one.
As soon as I find DPK's link to the latest version, I will post it in the top of this thread.
can people please link to text files instead of posting big wads of code? or at least modify the code you post so it doesnt end up blowing the page way out of proportion?
I chose to show anything except ICQ, but: a. AIM & PM's alt colors are the same (they shouldn't be). b. Location & Date Joined's alt colors are the same (they shouldn't be).
I think there will be many others like that when I'll deselect some options.
New Memberlist Version: http://www.nfscheats.com/users/DPK/scripts/download/download.cgi?name=Memberlist%20v6.3.4&file=http://www.nfscheats.com/users/DPK/scripts/cgi_perl/memberlist_6.3.4.zip
Sammie: thankyou for your suggestion. i tested it out and it works aok. its in the next release and there is a comment by that block of code giving you credit for that.
um, dpk, i think you forgot a color code for the tables that have the drop down menus and the next 50 things. On my board it was displaying as an ugly black color. I fixed it though.
Um, why would you design it like that? It looks really ugly and like there is something wrong with the tables, because thats the color you get when you screw with ubb's tables.
Also, sorry about the icq thing. I didnt notice that was why it did that.
i designed it so that the dropdown boxes and everything would be in a table that had a transparent bg. my board has a black bg. i guess i didnt notice it. anyways, i removed the $TBT and $TBB for that section of the code and replaced it so that it displays right. download the new version i just released, works fine, i think.
my fault for any problems, i didnt get alot of sleep in the last two days.
When i go to the cp and click on the memberlist settings, i get the following error: "You do not have permission to access this area." Maybe that's because i couldn't find the "$MainButtons = qq!" etc, etc line in ubb_lib?
I'd have to say that I'd prefer it do by displayed name, because thats the name everyone (regular members) know.
You also may want to set the text for the link ($MainButtons) as a wordlet, so those that capitalize it or have different languages can change it in the cp.
When you put +1 after this it counts 50+1 and this is wrong. Check this when you sort by usernumber. Every time you change a page (next 50) 1 member is missing. Delete the +1 ($ML_next = $ML_start+$ML_maxnumber) and it counts correct. ($ML_next = $ML_start+$ML_maxnumber+1 exist 2 times in this file)
I've got ultimatebb.cgi hack as mentioned before , 2 file ubb_memberlist.cgi mode 755 , public_memberlist.pl mode 755
and a link like that in my board and i don't know why . I want the sort and multi page functions coz my board will full of member soon Please helpppppppp
for some weird reason, maybe because i was tired, i changed the subroutine to lowercase.
if that doesnt work, take the hack out, make sure u download 6.3.6 from here , and install it. There is an auto installing shw file which should make ure life easier. If you are still having trouble, reply and I'll talk some more. You may also want to try LK's suggestions.
sammie: * edit: n/m, i figured out what u meant *
lk: your code and credit for it will be in the next release, thankyou. the more people contribute to this, the better it will be.
melder: i'm not quite sure what you are asking? from my standpoint, i am recoding parsing so that it displays the display names only and not login names. partly for security and mostly because on the ubb you dont see a persons login name, you know them by their display name.
Works pretty good. You definitely will want to consider breaking up the letter pages into multiple pages with "Next" and "Previous" at the top. Some of my letters have 60 or 70 names, too much to load one page.
Anyone else noticing that in the "Location" area, the background is the bg color and not the alt color if the person doesn't have anything in that field? Been trying if/else statements there, but have had no luck, so if anyone has the fix, post it.
anticonscience: 1. yes, bug fixed for next version. 2. i already stated that the next version will sort by display names, instead of registered users. it is a security risk not to do it otherwise. i agree.
melder: yes, i understand now, this is fixed in the upcomming version.
slurpee: lemme guess, ure seeing that on a netscape or older browser? the problem is that a browser like netscape will see that there is no content in that box of the table and and wont display the bg right. the simple solution is to just replace all the " "'s with "& nbsp ;"'s (ignore space between the & and n and the p and ; ). i'll fix it for next release.
also multi-page alphabet categories will be added to the next version.
DPK - Yep 'ole Netscape is the culprit. I tried using if/else statements and call a blank space instead of the $user_profile[6]. But alas no good. I'll look into your solution too.
DPK - found the problem. The reason you can't get the bg to print properly even with an if/else statement is that you need to to chomp the $user_profile[6] field in public_memberlist.pl. Once I did that, the bg did properly display after I used my if/else statement.
multi-spanning categories have been done as requested
default sorting by public display name instead of login name
reported problem with the counter adding 1 to the 'start' fixed
public names are made lowercase, i just think it looks cleaner and it's how amy originally did it
it was suggested to sort by date joined, but i see no point really for that because if you sort by user number you will see the order that people joined and the date they joined sorted my 2 cents
how to modify memberlist pages, so on the memberlist is public displayed name, not login name (i think its dangerous for users security) , please explain me how to do it..
DPK: I can't change back to Public Name, and I can't change back to show all letters/numbers (both of these "bugs" are also in older versions).
Also, I can't sort by something and show only 1 letter at the same time (also in the older ones); this feature would have been useful because I think Top 25 Posters of any letter is the best reason to use only one letter (so instead of 25 of all users, it shows only x's 25).
LK: i just added an option to the sort dropdown. i never really thought about doing what you mentioned for the top25. i guess i could implement something like that.
[*]Sort: "Display All" should be "Public Name" (because it sorts by name, and also Member Number shows all and Top 25 Posters can show all if there are less than 25 posters).
[*]Category should have a "Display All" option.
[*]Search doesn't work with Category or Sort
[*]I can't choose a category and "User Number" together
a. choose the letter first b. i changed it so it will work more efficiently, plus the script kept thinking that the '#' was a comment. plus '#' refers to numbers and the '@' symbol is more general c. ok, added to the list of todo's d. ok, added to the list of todo's e. search is still very basic, i plan on adding a dropdown full of options of what to search by f. so you want that to work like the top 25? select a category, then select sort by usernumber to view that category sorted by usernumber? ok, added to the list of todo's
New Version Released: http://www.nfscheats.com/users/DPK/scripts/download/download.cgi?name=Memberlist%20v6.3.7&file=http://www.nfscheats.com/users/DPK/scripts/cgi_perl/memberlist_6.3.7.zip
Note: If you are upgrading, simply just upload all the files from the zip over the ones currently you have installed. No need for anything else due to the fact the previous versions already integrated it all for the most part.... until I add wordlets, then the fun begins.
- include the wordlets - center and align in .pl - table width edit to: width="$vars_style{TableWidth}" - gif 4 next or prev site (edit in .cgi) - alert under the memberlist (edit in.pl at the end and in .cgi in the first lines)
the reason why i dont have a button is because it looks cleaner without one. i am running windows xp in the default xp theme which makes buttons size funny in ie6. guess it influenced me.
The mod works great and the users are loving it. I am still getting "You do not have permission to access this area." when I try to access the Control Panel page. How can I fix this? I double checked the chmod's and they are correct.
I've been after something like this 4 a while. I haven't tested it yet but i'm still thanking u as i have an idea of what it does. ubb needs this originally, don't you think?
melder: thankyou for the ideas, working on it. gamer: looks fine to me, whats wrong? rinkrat: did u add the lines to the cp.cgi? ramirez: i agree, its a great feature and like so many others here that the people on this board create, should be options for the ubb.
ps ~ sorry for me being slow with another release, i usually can get a new release of anything within 24 hours, but exams this week and next week have me unavailable for alot of things, coding being one of them.
Because of a additional hack that I have installed in ubb_lib.cgi I can't edit some coding becaused it's already edited. In your memberlist_install.txt file on the part for ubb_lib.cgi it calls for this code:
# Find This #############################################
Look, more bad news. My host, eUniverse, is terminating our contract and is making us pay to get the rights back for the name. Some weird escape clause. The fee is upwards of $1500 dollars. Right now I'm going crazy trying to find a new host and money. If you do feel like it, though, a donation would be appreciated here . Do not feel obligated though. Argh, down with the corporate masses!!
How can I make this list "secure"? By "secure" I mean simply that you need to be logged in to view it. If someone isn't registered at my site then I don't want them seeing who is. Looking for a check to see if the person is logged in. If so they go straight to the list and if not then they get the login screen and then on to the list. I skimmed through the last few pages of posts and didn't see references to this so my apologies if I overlooked this. Many thanks for your work on this script!!
Public names didn't show up on mine either except for a few members. So, for the time being I changed to code to display and sort by Login name instead (changed the 15's to 0's). My guess is that the people whose public names did show up are the only ones to actually look at their profile and thus generate a public name??? Perhaps a check to default to their login name if a public name doesn't exist?
I would still very much like to be able to restrict memberlist access to registered members though. Perhaps in a later version? Thank you for all your efforts so far, they are much appreciated!!
Great hack, coming along nicely. I would like a way to Sort by the custom field. I use the custom field to display the users state ID ie: FL, CA, NY. Sorting that field would allow users to list members in their own state or group, depending on that you have there.
Additionally adding the other custom fileds would be a definate bonus. Many thanks.
I released the version of hack knowing that this happened to some members, but I didnt think it was this bad. Will be fixed in next release. Sorry for the inconvenience.
Things just arent going my way. A big storm came through and zapped my moms computer virtually destroying the network card for it. My computer is fine though. I've been spending the last day or so to install and setup her new computer. All the time cursing at the designer of HP computers. New network card won't fit into the HP slot inside the computer because the metal slots on the back arent positioned right! Die Die Die!
PS~ Today was my last day of school, summer vacation begins and so does a whole new array of updates, hacks, and more from me.
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.